The ability of sodium bicarbonate to neutralize acids makes it an excellent antacid for treating conditions like heartburn and indigestion. When swallowed, sodium bicarbonate reacts with excess stomach acid (HCl) to form sodium chloride (table salt), water, and carbon dioxide—providing symptomatic relief by raising the pH of gastric contents. This property has made sodium bicarbonate a staple in many households as a quick remedy for acid-related discomfort.